package com.zhl.scheduling.model.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: ZhangLu In DLUT
 * @since: 1.0.0
 * @Description: 封装的工件查询条件实体类
 */
@ApiModel(value = "WorkpieceListQueryBO对象",description = "封装查询工件列表的条件对象")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class WorkpieceListQueryBO {

    @ApiModelProperty(dataType = "int",required = true, value = "工件编号")
    private Integer workpieceId;

    @ApiModelProperty(dataType = "string",required = true, value = "工件名称")
    private String workpieceName;

    @ApiModelProperty(dataType = "int",required = true, value = "工件类别")
    private Integer workpieceCategoryId;

    @ApiModelProperty(dataType = "int",required = true, value = "工件状态")
    private Integer workpieceStatus;

    @ApiModelProperty(dataType = "int",required = true, value = "工件是否柔性加工")
    private Integer processFlexibility;

    @ApiModelProperty(dataType = "int",required = true, value = "页码")
    private int page = 1;

    @ApiModelProperty(dataType = "int",required = true, value = "每页条数")
    private int limit = 5;

    @ApiModelProperty(dataType = "string",required = true, value = "排序方式，如：'workpieceId desc' ")
    private String orderBy;
}
